package com.itheima.day07;

public class Demo01 {

    public static void main(String[] args) {

        int a = 1;
        int b = 0;

        try {
            System.out.println(a / b);
        } catch (ArithmeticException e) {
            System.out.println("第二个数不能为0！");
        }

    }









}
